# 直接读取文件内容
file_path = '/workspace/React-TypeScript/tf-model-development/data/task_data_template.csv'
try:
    with open(file_path, 'r') as f:
        lines = f.readlines()
        print(f"文件行数: {len(lines)}")
        print("前5行内容:")
        for i, line in enumerate(lines[:5]):
            print(f"行 {i+1}: {repr(line)}")
except Exception as e:
    print(f"读取文件时出错: {str(e)}")